import { createApp } from 'vue'
import {
  Button,
  Toast,
  Form,
  Field,
  RadioGroup,
  Radio,
  Cell,
  CellGroup,
  Loading,
} from 'vant'
import 'vant/lib/index.css'
import App from './App.vue'
import router from './router'
import './../../assets/css/base.css'
import LoadingComponent from './../../components/Loading'

const app = createApp(App)

app.use(router)
app.use(Button)
app.use(Toast)
app.use(Form)
app.use(Field)
app.use(RadioGroup)
app.use(Radio)
app.use(Cell)
app.use(CellGroup)
app.use(Loading)
app.use(LoadingComponent)
app.mount('#app')
